Einhugur macOS Bridge plugin.

NSWorkspace.SelectFile Method

Selects the file at the specified path.

shared SelectFile(
   f as FolderItem) as Boolean

Parameters

f
The path of the file to select.

Returns

Boolean
True if the file was successfully selected; otherwise, False.

Remarks

In macOS 10.5 and later, this method does not follow symlinks when selecting the file. If the fullPath parameter contains any symlinks, this method selects the symlink instead of the file it targets.

See Also

NSWorkspace Class